home *** CD-ROM | disk | FTP | other *** search
/ Backpacker 2 (Sweden) / BackPacker 2 (Sweden) (Disc 1).7z / BackPacker 2 (Sweden) (Disc 1).bin / pc / instdata / instin02 / 00146_movieScripts.ls < prev    next >
Encoding:
Text File  |  1997-01-01  |  26.7 KB  |  581 lines

  1. on startMovie
  2.   global locVList, locHList, gPuppList, opponentVList, opponentHList, stillInBusiness, gCommunicationCheck, gFileList, gHost, gCash, gName, gOppName, gOppCash
  3.   set the text of member "myChat" to " "
  4.   set gFileList to []
  5.   setUpCastMemberCoords()
  6.   set stillInBusiness to 1
  7.   set gPuppList to [3]
  8.   set locVList to [the locV of sprite 43]
  9.   repeat with i = 1 to 20
  10.     append(locVList, getLast(locVList) + 10)
  11.   end repeat
  12.   set locHList to [the locH of sprite 43]
  13.   repeat with i = 1 to 32
  14.     append(locHList, getLast(locHList) + 10)
  15.   end repeat
  16.   puppetSprite(42, 1)
  17.   set the moveableSprite of sprite 42 to 1
  18.   set the constraint of sprite 42 to 48
  19.   puppetSprite(45, 1)
  20.   set the trails of sprite 45 to 1
  21.   puppetSprite(48, 1)
  22.   set the stretch of sprite 48 to 1
  23.   set the visible of sprite 47 to 0
  24.   if gHost = 1 then
  25.     makeSlumpList()
  26.   end if
  27.   set the text of field "myChat" to " "
  28.   set the text of field "oppChat" to " "
  29. end
  30.  
  31. on idle
  32.   global gChatTime
  33.   if gChatTime < the ticks then
  34.     set the text of field "oppChat" to " "
  35.   end if
  36. end
  37.  
  38. on setUpCastMemberCoords
  39.   global gCastMemberCoords
  40.   set troya1 to [[[1, 2], [8, 9]], [[1, 3], [7, 9]], [[1, 3], [7, 9]], [[1, 3], [7, 9]], [[2, 9]], [[2, 9]], [[2, 9]], [[1, 9]], [[1, 9]], [[1, 9]], [[1, 9]], [[1, 9]], [[1, 9]], [[3, 8]]]
  41.   set troya2 to [[[2, 7], [10, 14]], [[2, 14]], [[1, 12]], [[1, 10]], [[1, 10]], [[1, 10]], [[1, 11]], [[1, 14]], [[1, 14]]]
  42.   set troya3 to [[[1, 8]], [[1, 9]], [[1, 9]], [[1, 9]], [[1, 9]], [[1, 9]], [[1, 8]], [[1, 8]], [[1, 8]], [[1, 8]], [[1, 3], [7, 9]], [[1, 3], [7, 9]], [[1, 2], [7, 9]], [[1, 2], [7, 9]]]
  43.   set troya4 to [[[1, 14]], [[1, 14]], [[3, 14]], [[5, 14]], [[5, 14]], [[5, 14]], [[2, 13]], [[1, 13]], [[1, 4], [9, 13]]]
  44.   set camera1 to [[[4, 5]], [[1, 7]], [[1, 7]], [[1, 7]], [[1, 7]]]
  45.   set camera2 to [[[1, 4]], [[1, 4]], [[1, 4]], [[1, 5]], [[1, 5]], [[1, 4]], [[1, 4]]]
  46.   set camera3 to [[[1, 7]], [[1, 7]], [[1, 7]], [[1, 7]], [[3, 4]]]
  47.   set camera4 to [[[2, 5]], [[2, 5]], [[1, 5]], [[1, 5]], [[2, 5]], [[2, 5]], [[2, 5]]]
  48.   set hatt1 to [[[7, 8]], [[4, 8]], [[2, 8]], [[2, 10]], [[1, 11]], [[1, 10]], [[1, 9]], [[2, 7]], [[3, 5]]]
  49.   set hatt2 to [[[3, 5]], [[2, 6]], [[1, 7]], [[1, 8]], [[1, 8]], [[2, 8]], [[2, 9]], [[3, 8]], [[3, 6]], [[4, 6]], [[5, 5]]]
  50.   set hatt3 to [[[7, 9]], [[5, 10]], [[3, 11]], [[2, 11]], [[1, 11]], [[2, 10]], [[4, 9]], [[4, 7]], [[4, 5]]]
  51.   set hatt4 to [[[4, 5]], [[4, 6]], [[3, 7]], [[1, 7]], [[1, 8]], [[2, 9]], [[2, 9]], [[3, 9]], [[3, 8]], [[5, 7]]]
  52.   set cardDeck1 to [[[1, 3]], [[1, 3]], [[1, 3]], [[1, 3]]]
  53.   set cardDeck2 to [[[1, 4]], [[1, 4]], [[1, 4]]]
  54.   set cardDeck3 to [[[1, 3]], [[1, 3]], [[1, 3]], [[1, 3]]]
  55.   set cardDeck4 to [[[1, 4]], [[1, 4]], [[1, 4]]]
  56.   set plast1 to [[[1, 3]]]
  57.   set plast2 to [[[1, 1]], [[1, 1]], [[1, 1]]]
  58.   set plast3 to [[[1, 3]]]
  59.   set plast4 to [[[1, 1]], [[1, 1]], [[1, 1]]]
  60.   set vKlock1 to [[[1, 4]], [[1, 4]], [[1, 4]], [[1, 4]]]
  61.   set vKlock2 to [[[1, 4]], [[1, 4]], [[1, 4]], [[1, 4]]]
  62.   set vKlock3 to [[[1, 4]], [[1, 4]], [[1, 4]], [[1, 4]]]
  63.   set vKlock4 to [[[1, 4]], [[1, 4]], [[1, 4]], [[1, 4]]]
  64.   set tBrush1 to [[[1, 7], [9, 10]], [[7, 10]]]
  65.   set tBrush2 to [[[2, 2]], [[2, 2]], [[2, 2]], [[2, 2]], [[2, 2]], [[2, 2]], [[1, 1]], [[1, 1]], [[1, 2]], [[1, 2]]]
  66.   set tBrush3 to [[[1, 3]], [[1, 2], [4, 10]]]
  67.   set tBrush4 to [[[1, 2]], [[1, 2]], [[1, 2]], [[1, 1]], [[1, 1]], [[1, 1]], [[1, 1]], [[1, 1]], [[1, 1]], [[1, 1]]]
  68.   set trosa1 to [[[7, 8]], [[4, 8]], [[2, 9]], [[1, 9]], [[2, 9]], [[2, 9]], [[3, 8]], [[4, 7]], [[5, 6]]]
  69.   set trosa2 to [[[5, 6]], [[4, 6]], [[3, 7]], [[2, 7]], [[1, 7]], [[1, 8]], [[2, 8]], [[2, 9]], [[4, 7]]]
  70.   set trosa3 to [[[3, 5]], [[2, 6]], [[1, 7]], [[1, 8]], [[1, 8]], [[1, 9]], [[1, 7]], [[2, 4]], [[2, 2]]]
  71.   set trosa4 to [[[3, 6]], [[1, 8]], [[2, 8]], [[2, 9]], [[2, 9]], [[2, 8]], [[3, 7]], [[3, 6]], [[3, 4]]]
  72.   set strump1 to [[[6, 8]], [[5, 8]], [[5, 8]], [[5, 8]], [[5, 7]], [[5, 7]], [[5, 7]], [[4, 7]], [[2, 6]], [[2, 4]], [[1, 3]], [[1, 2]]]
  73.   set strump2 to [[[1, 2]], [[1, 3]], [[2, 4]], [[3, 5]], [[3, 11]], [[4, 12]], [[5, 12]], [[10, 11]]]
  74.   set strump3 to [[[6, 7]], [[5, 8]], [[4, 7]], [[2, 6]], [[2, 5]], [[2, 4]], [[2, 4]], [[2, 4]], [[1, 4]], [[1, 3]], [[1, 3]], [[2, 3]]]
  75.   set strump4 to [[[1, 4]], [[1, 8]], [[1, 9]], [[4, 10]], [[8, 11]], [[9, 12]], [[10, 12]], [[11, 12]]]
  76.   set buch1 to [[[1, 7]], [[1, 7]], [[1, 7]], [[1, 7]], [[1, 7]], [[1, 7]], [[1, 7]], [[1, 7]], [[1, 7]]]
  77.   set buch2 to [[[1, 9]], [[1, 9]], [[1, 9]], [[1, 9]], [[1, 9]], [[1, 9]], [[1, 9]]]
  78.   set buch3 to [[[1, 7]], [[1, 7]], [[1, 7]], [[1, 7]], [[1, 7]], [[1, 7]], [[1, 7]], [[1, 7]], [[1, 7]]]
  79.   set buch4 to [[[1, 9]], [[1, 9]], [[1, 9]], [[1, 9]], [[1, 9]], [[1, 9]], [[1, 9]]]
  80.   set letter1 to [[[1, 7]], [[1, 7]], [[1, 7]], [[1, 9]], [[1, 9]], [[1, 9]], [[1, 9]], [[1, 7]], [[1, 7]]]
  81.   set letter2 to [[[1, 9]], [[1, 9]], [[1, 9]], [[1, 9]], [[1, 9]], [[1, 9]], [[1, 9]], [[3, 6]], [[3, 6]]]
  82.   set letter3 to [[[3, 9]], [[3, 9]], [[1, 9]], [[1, 9]], [[1, 9]], [[1, 9]], [[3, 9]], [[3, 8]], [[3, 8]]]
  83.   set letter4 to [[[4, 7]], [[4, 7]], [[1, 9]], [[1, 9]], [[1, 9]], [[1, 9]], [[1, 9]], [[1, 9]], [[1, 9]]]
  84.   set tork1 to [[[1, 7]], [[2, 8]], [[5, 8]], [[6, 8]], [[6, 7]], [[6, 7]], [[7, 7]], [[7, 7]]]
  85.   set tork2 to [[[7, 8]], [[7, 8]], [[7, 8]], [[7, 8]], [[6, 8]], [[4, 8]], [[1, 8]], [[2, 2], [6, 7]]]
  86.   set tork3 to [[[2, 2]], [[2, 2]], [[2, 3]], [[2, 3]], [[1, 3]], [[1, 4]], [[1, 8]], [[2, 8]]]
  87.   set tork4 to [[[2, 3]], [[1, 8]], [[1, 5]], [[1, 3]], [[1, 3]], [[1, 2]], [[1, 2]], [[1, 2]]]
  88.   set walkm1 to [[[3, 6]], [[2, 7]], [[2, 9]], [[2, 9]], [[1, 8]], [[1, 8]], [[3, 8]], [[3, 4], [6, 7]]]
  89.   set walkm2 to [[[3, 4]], [[2, 6]], [[1, 7]], [[2, 8]], [[1, 8]], [[2, 8]], [[1, 7]], [[2, 6]], [[5, 6]]]
  90.   set walkm3 to [[[3, 3], [6, 7]], [[6, 8]], [[2, 9]], [[2, 9]], [[1, 8]], [[1, 8]], [[3, 7]], [[4, 6]]]
  91.   set walkm4 to [[[2, 3]], [[2, 6]], [[2, 8]], [[1, 7]], [[1, 7]], [[1, 8]], [[1, 8]], [[2, 6]], [[6, 7]]]
  92.   set comb1 to [[[1, 7]], [[1, 7]]]
  93.   set comb2 to [[[1, 2]], [[1, 2]], [[1, 2]], [[1, 2]], [[1, 2]], [[1, 2]], [[1, 2]]]
  94.   set comb3 to [[[1, 7]], [[1, 7]]]
  95.   set comb4 to [[[1, 2]], [[1, 2]], [[1, 2]], [[1, 2]], [[1, 2]], [[1, 2]], [[1, 2]]]
  96.   set locTong1 to [[[1, 2]], [[1, 2]], [[1, 2]], [[1, 2]], [[1, 2]], [[1, 2]], [[1, 2]], [[1, 2]], [[1, 2]], [[1, 2]], [[1, 2]], [[1, 2]], [[1, 2]]]
  97.   set locTong2 to [[[1, 13]], [[1, 13]]]
  98.   set locTong3 to [[[1, 2]], [[1, 2]], [[1, 2]], [[1, 2]], [[1, 2]], [[1, 2]], [[1, 2]], [[1, 2]], [[1, 2]], [[1, 2]], [[1, 2]], [[1, 2]], [[1, 2]]]
  99.   set locTong4 to [[[1, 13]], [[1, 13]]]
  100.   set penn2 to [[[1, 6]]]
  101.   set penn1 to [[[1, 1]], [[1, 1]], [[1, 1]], [[1, 1]], [[1, 1]], [[1, 1]]]
  102.   set penn4 to [[[1, 6]]]
  103.   set penn3 to [[[1, 1]], [[1, 1]], [[1, 1]], [[1, 1]], [[1, 1]], [[1, 1]]]
  104.   set burk1 to [[[1, 3]], [[1, 3]], [[1, 3]], [[1, 3]]]
  105.   set burk2 to [[[1, 4]], [[1, 4]], [[1, 4]]]
  106.   set burk3 to [[[1, 3]], [[1, 3]], [[1, 3]], [[1, 3]]]
  107.   set burk4 to [[[1, 4]], [[1, 4]], [[1, 4]]]
  108.   set apple1 to [[[2, 3]], [[1, 4]], [[1, 4]], [[2, 3]]]
  109.   set apple2 to [[[2, 3]], [[1, 4]], [[1, 4]], [[2, 3]]]
  110.   set apple3 to [[[2, 3]], [[1, 4]], [[1, 4]], [[2, 3]]]
  111.   set apple4 to [[[2, 3]], [[1, 4]], [[1, 4]], [[2, 3]]]
  112.   set cBoot1 to [[[4, 6]], [[2, 7]], [[2, 8]], [[2, 8]], [[1, 7]], [[2, 7]], [[1, 7]], [[1, 6]], [[1, 7]], [[1, 7]], [[1, 9]], [[2, 10]]]
  113.   set cBoot2 to [[[2, 5]], [[1, 11]], [[1, 11]], [[2, 12]], [[1, 12]], [[1, 12]], [[1, 3], [6, 11]], [[1, 2], [10, 10]], [[1, 2]], [[2, 2]]]
  114.   set cBoot3 to [[[2, 5], [8, 9]], [[1, 10]], [[4, 10]], [[4, 10]], [[5, 9]], [[4, 9]], [[4, 9]], [[3, 9]], [[3, 9]], [[3, 9]], [[3, 9]], [[5, 7]]]
  115.   set cBoot4 to [[[11, 11]], [[11, 12]], [[2, 4], [11, 12]], [[2, 7], [9, 12]], [[1, 12]], [[1, 11]], [[1, 11]], [[2, 12]], [[2, 12]], [[8, 10]]]
  116.   set shades1 to [[[2, 6]], [[1, 7]], [[1, 3], [5, 7]]]
  117.   set shades2 to [[[1, 2]], [[1, 3]], [[1, 3]], [[2, 3]], [[1, 3]], [[1, 3]], [[1, 2]]]
  118.   set shades3 to [[[1, 7], [5, 7]], [[1, 7]], [[2, 6]]]
  119.   set shades4 to [[[2, 3]], [[1, 3]], [[1, 3]], [[1, 2]], [[1, 3]], [[1, 3]], [[2, 3]]]
  120.   set philips1 to [[[1, 2]], [[1, 3]], [[1, 3]], [[1, 3]], [[2, 3]]]
  121.   set philips2 to [[[2, 5]], [[1, 5]], [[1, 4]]]
  122.   set philips3 to [[[2, 2]], [[1, 3]], [[1, 3]], [[1, 3]], [[2, 3]]]
  123.   set philips4 to [[[2, 4]], [[1, 5]], [[1, 5]]]
  124.   set safePin1 to [[[1, 1]], [[1, 2]], [[1, 1]]]
  125.   set safePin2 to [[[1, 3]], [[2, 2]]]
  126.   set safePin3 to [[[2, 2]], [[1, 2]], [[2, 2]]]
  127.   set safePin4 to [[[2, 2]], [[1, 3]]]
  128.   set sciss1 to [[[1, 2]], [[1, 6]], [[1, 2]]]
  129.   set sciss2 to [[[1, 3]], [[1, 3]], [[2, 2]], [[2, 2]], [[2, 2]], [[2, 2]]]
  130.   set sciss3 to [[[5, 6]], [[1, 6]], [[5, 6]]]
  131.   set sciss4 to [[[2, 2]], [[2, 2]], [[2, 2]], [[2, 2]], [[1, 3]], [[1, 3]]]
  132.   set iron1 to [[[3, 3]], [[3, 4]], [[2, 5]], [[2, 6]], [[2, 6]], [[1, 6]], [[1, 5]], [[1, 5]], [[1, 5]], [[3, 4]]]
  133.   set iron2 to [[[2, 4]], [[2, 8]], [[2, 9]], [[1, 8]], [[1, 8]], [[5, 9]]]
  134.   set iron3 to [[[3, 4]], [[2, 6]], [[2, 6]], [[2, 6]], [[1, 6]], [[1, 5]], [[1, 5]], [[2, 5]], [[3, 4]], [[4, 4]]]
  135.   set iron4 to [[[3, 6]], [[2, 9]], [[2, 10]], [[1, 10]], [[3, 9]], [[6, 9]]]
  136.   set specs1 to [[[1, 7]], [[1, 7]], [[2, 3], [5, 6]]]
  137.   set specs2 to [[[2, 3]], [[1, 3]], [[1, 3]], [[2, 2]], [[1, 3]], [[1, 3]], [[2, 3]]]
  138.   set specs3 to [[[2, 3], [5, 6]], [[1, 7]], [[1, 3], [4, 7]]]
  139.   set specs4 to [[[1, 2]], [[1, 3]], [[1, 3]], [[1, 2]], [[1, 3]], [[1, 3]], [[1, 2]]]
  140.   set snorck1 to [[[5, 6]], [[5, 6]], [[5, 6]], [[5, 6]], [[5, 6]], [[5, 6]], [[5, 6]], [[5, 6]], [[5, 6]], [[4, 6]], [[5, 6]], [[5, 6]], [[5, 6]], [[5, 6]], [[5, 6]], [[1, 2], [5, 6]], [[1, 2], [5, 6]], [[2, 2]], [[2, 3], [5, 5]], [[3, 4]]]
  141.   set snorck2 to [[[3, 5]], [[2, 4]], [[1, 1], [5, 5]], [[1, 1], [10, 10]], [[1, 20]], [[2, 20]]]
  142.   set snorck3 to [[[3, 4]], [[2, 2], [4, 5]], [[1, 1], [5, 5]], [[1, 1], [5, 5]], [[1, 1], [5, 5]], [[1, 1]], [[1, 1]], [[1, 1]], [[1, 1]], [[1, 1]], [[1, 2]], [[1, 1]], [[1, 1]], [[1, 1]], [[1, 1]], [[1, 1]], [[1, 1]], [[1, 1]], [[1, 2]], [[1, 1]]]
  143.   set snorck4 to [[[1, 19]], [[10, 10], [18, 20]], [[20, 20]], [[16, 16], [19, 20]], [[17, 19]], [[16, 16]]]
  144.   set damSko1 to [[[6, 7]], [[6, 8]], [[6, 8]], [[5, 8]], [[5, 8]], [[5, 8]], [[4, 9]], [[4, 8]], [[1, 6], [8, 8]], [[1, 4]]]
  145.   set damSko2 to [[[1, 1]], [[1, 2]], [[1, 2]], [[1, 3]], [[1, 7]], [[2, 10]], [[3, 10]], [[2, 9]], [[4, 4]]]
  146.   set damSko3 to [[[5, 8]], [[1, 2], [4, 8]], [[1, 5]], [[1, 5]], [[1, 4]], [[2, 4]], [[2, 4]], [[1, 4]], [[1, 4]], [[2, 4]]]
  147.   set damSko4 to [[[1, 3], [6, 8]], [[1, 9]], [[1, 8]], [[2, 9]], [[6, 9]], [[8, 10]], [[9, 10]], [[9, 10]], [[9, 9]]]
  148.   set paper1 to [[[1, 4]], [[1, 4]], [[1, 4]], [[1, 4]], [[1, 4]], [[1, 4]], [[1, 4]], [[1, 4]], [[1, 4]], [[1, 4]]]
  149.   set paper2 to [[[1, 10]], [[1, 10]], [[1, 10]], [[1, 10]]]
  150.   set paper3 to [[[1, 4]], [[1, 4]], [[1, 4]], [[1, 4]], [[1, 4]], [[1, 4]], [[1, 4]], [[1, 4]], [[1, 4]], [[1, 4]]]
  151.   set paper4 to [[[1, 10]], [[1, 10]], [[1, 10]], [[1, 10]]]
  152.   set shirt1 to [[[3, 5], [9, 11]], [[1, 5], [8, 13]], [[1, 13]], [[1, 13]], [[4, 10]], [[4, 10]], [[4, 10]], [[4, 10]], [[4, 10]], [[4, 10]], [[4, 10]], [[4, 10]]]
  153.   set shirt2 to [[[8, 11]], [[8, 11]], [[8, 11]], [[1, 12]], [[1, 12]], [[1, 10]], [[1, 10]], [[1, 10]], [[1, 10]], [[1, 10]], [[8, 11]], [[8, 11]], [[8, 11]]]
  154.   set shirt3 to [[[4, 10]], [[4, 10]], [[4, 10]], [[4, 10]], [[4, 10]], [[4, 10]], [[4, 10]], [[4, 10]], [[4, 10]], [[4, 10]], [[1, 5], [9, 13]], [[3, 5], [9, 11]]]
  155.   set shirt4 to [[[2, 4]], [[2, 4]], [[2, 4]], [[1, 12]], [[1, 12]], [[3, 12]], [[3, 12]], [[3, 12]], [[1, 12]], [[1, 12]], [[2, 4]], [[2, 4]], [[2, 4]]]
  156.   set flute1 to [[[7, 7]], [[6, 7]], [[6, 6]], [[5, 5]], [[4, 4]], [[3, 3]], [[3, 3]], [[2, 2]], [[1, 1]]]
  157.   set flute2 to [[[1, 1]], [[2, 2]], [[3, 4]], [[5, 5]], [[5, 5]], [[7, 8]], [[8, 9]]]
  158.   set flute3 to [[[7, 7]], [[6, 6]], [[5, 5]], [[4, 4]], [[4, 4]], [[3, 3]], [[2, 2]], [[1, 2]], [[1, 1]]]
  159.   set flute4 to [[[1, 2]], [[3, 3]], [[4, 4]], [[4, 5]], [[6, 6]], [[8, 9]], [[8, 8]]]
  160.   set foto1 to [[[1, 4]], [[1, 4]], [[1, 4]], [[1, 4]], [[1, 4]]]
  161.   set foto2 to [[[1, 5]], [[1, 5]], [[1, 5]], [[1, 5]]]
  162.   set foto3 to [[[1, 4]], [[1, 4]], [[1, 4]], [[1, 4]], [[1, 4]]]
  163.   set foto4 to [[[1, 5]], [[1, 5]], [[1, 5]], [[1, 5]]]
  164.   set trad1 to [[[1, 1], [3, 4]], [[1, 4]], [[2, 3]], [[1, 3]]]
  165.   set trad2 to [[[1, 1]], [[1, 3]], [[1, 4]], [[3, 4]]]
  166.   set trad3 to [[[2, 4]], [[1, 3]], [[1, 4]], [[1, 2], [4, 4]]]
  167.   set trad4 to [[[1, 2]], [[2, 4]], [[1, 4]], [[1, 4]]]
  168.   set maracc1 to [[[2, 3]], [[1, 4]], [[1, 4]], [[2, 4]], [[5, 5]], [[6, 6]]]
  169.   set maracc2 to [[[3, 4]], [[3, 6]], [[3, 6]], [[3, 5]], [[2, 2]], [[1, 1]]]
  170.   set maracc3 to [[[1, 1]], [[2, 2]], [[3, 5]], [[2, 6]], [[3, 6]], [[3, 5]]]
  171.   set maracc4 to [[[6, 6]], [[3, 5]], [[1, 4]], [[1, 4]], [[1, 4]], [[2, 4]]]
  172.   set gCastMemberCoords to [troya1, troya2, troya3, troya4, camera1, camera2, camera3, camera4, hatt1, hatt2, hatt3, hatt4, cardDeck1, cardDeck2, cardDeck3, cardDeck4, plast1, plast2, plast3, plast4, vKlock1, vKlock2, vKlock3, vKlock4, tBrush1, tBrush2, tBrush3, tBrush4, trosa1, trosa2, trosa3, trosa4, strump1, strump2, strump3, strump4, buch1, buch2, buch3, buch4, letter1, letter2, letter3, letter4, tork1, tork2, tork3, tork4, walkm1, walkm2, walkm3, walkm4, comb1, comb2, comb3, comb4, locTong1, locTong2, locTong3, locTong4, penn1, penn2, penn3, penn4, burk1, burk2, burk3, burk4, apple1, apple2, apple3, apple4, cBoot1, cBoot2, cBoot3, cBoot4, shades1, shades2, shades3, shades4, philips1, philips2, philips3, philips4, safePin1, safePin2, safePin3, safePin4, sciss1, sciss2, sciss3, sciss4, iron1, iron2, iron3, iron4, specs1, specs2, specs3, specs4, snorck1, snorck2, snorck3, snorck4, damSko1, damSko2, damSko3, damSko4, paper1, paper2, paper3, paper4, shirt1, shirt2, shirt3, shirt4, flute1, flute2, flute3, flute4, foto1, foto2, foto3, foto4, trad1, trad2, trad3, trad4, maracc1, maracc2, maracc3, maracc4]
  173. end
  174.  
  175. on makeSlumpList
  176.   global gSlumpList
  177.   set RA to random(4)
  178.   case RA of
  179.     1:
  180.       set gSlumpList to [6, 10, 14, 18, 22, 26, 30, 34, 38, 42, 46, 50, 54, 58, 62, 66, 70, 78, 82, 86, 90, 94, 98, 102, 106, 110, 114, 118, 122, 126, 130]
  181.     2:
  182.       set gSlumpList to [2, 6, 10, 14, 18, 22, 26, 30, 34, 38, 42, 46, 50, 54, 58, 62, 66, 70, 78, 82, 86, 90, 94, 98, 102, 106, 110, 118, 122, 126, 130]
  183.     3:
  184.       set gSlumpList to [6, 10, 14, 18, 22, 26, 30, 34, 38, 42, 46, 50, 54, 58, 62, 66, 70, 74, 78, 82, 86, 90, 94, 98, 102, 110, 114, 118, 122, 126, 130]
  185.     4:
  186.       set gSlumpList to [2, 6, 10, 14, 18, 22, 26, 30, 34, 38, 42, 46, 50, 54, 58, 62, 66, 70, 74, 78, 82, 86, 90, 94, 98, 102, 110, 118, 122, 126, 130]
  187.   end case
  188. end
  189.  
  190. on createSlumpList
  191.   global gSlumpList
  192.   set tempList to []
  193.   repeat while count(gSlumpList) > 0
  194.     set nr to random(count(gSlumpList))
  195.     append(tempList, getAt(gSlumpList, nr))
  196.     deleteAt(gSlumpList, nr)
  197.   end repeat
  198.   set gSlumpList to tempList
  199. end
  200.  
  201. on playCheckOut
  202.   play frame label("checkOut")
  203. end
  204.  
  205. on slumpaShape
  206.   global gSlumpList, gRak
  207.   set the visible of sprite 42 to 0
  208.   set the memberNum of sprite 42 to getAt(gSlumpList, gRak)
  209.   set gRak to gRak + 1
  210.   set left to the left of sprite 43 - 230
  211.   set top to the top of sprite 43 - 100
  212.   set right to the right of sprite 43
  213.   set bottom to the bottom of sprite 43
  214.   case the memberNum of sprite 42 of
  215.     2, 4:
  216.       spriteBox(48, left, top, right - 90, bottom - 140)
  217.     3, 5:
  218.       spriteBox(48, left, top, right - 140, bottom - 90)
  219.     6, 8:
  220.       spriteBox(48, left, top, right - 70, bottom - 50)
  221.     7, 9:
  222.       spriteBox(48, left, top, right - 50, bottom - 70)
  223.     10, 12:
  224.       spriteBox(48, left, top, right - 110, bottom - 90)
  225.     11, 13:
  226.       spriteBox(48, left, top, right - 90, bottom - 110)
  227.     14, 16:
  228.       spriteBox(48, left, top, right - 30, bottom - 40)
  229.     15, 17:
  230.       spriteBox(48, left, top, right - 40, bottom - 30)
  231.     18, 20:
  232.       spriteBox(48, left, top, right - 30, bottom - 10)
  233.     19, 21:
  234.       spriteBox(48, left, top, right - 10, bottom - 30)
  235.     22, 23, 24, 25, 70, 71, 72, 73, 126, 127, 128, 129:
  236.       spriteBox(48, left, top, right - 40, bottom - 40)
  237.     26, 28:
  238.       spriteBox(48, left, top, right - 90, bottom - 10)
  239.     27, 29:
  240.       spriteBox(48, left, top, right - 10, bottom - 90)
  241.     30, 31, 32, 33, 46, 47, 48, 49:
  242.       spriteBox(48, left, top, right - 80, bottom - 80)
  243.     34, 36:
  244.       spriteBox(48, left, top, right - 80, bottom - 120)
  245.     35, 37:
  246.       spriteBox(48, left, top, right - 120, bottom - 80)
  247.     38, 40:
  248.       spriteBox(48, left, top, right - 70, bottom - 90)
  249.     39, 41:
  250.       spriteBox(48, left, top, right - 90, bottom - 70)
  251.     42, 43, 44, 45:
  252.       spriteBox(48, left, top, right - 90, bottom - 90)
  253.     50, 52:
  254.       spriteBox(48, left, top, right - 90, bottom - 80)
  255.     51, 53:
  256.       spriteBox(48, left, top, right - 80, bottom - 90)
  257.     54, 56:
  258.       spriteBox(48, left, top, right - 70, bottom - 20)
  259.     55, 57:
  260.       spriteBox(48, left, top, right - 20, bottom - 70)
  261.     58, 60:
  262.       spriteBox(48, left, top, right - 20, bottom - 130)
  263.     59, 61:
  264.       spriteBox(48, left, top, right - 130, bottom - 20)
  265.     62, 64:
  266.       spriteBox(48, left, top, right - 60, bottom - 10)
  267.     63, 65:
  268.       spriteBox(48, left, top, right - 10, bottom - 60)
  269.     66, 68:
  270.       spriteBox(48, left, top, right - 30, bottom - 50)
  271.     67, 69:
  272.       spriteBox(48, left, top, right - 50, bottom - 30)
  273.     74, 76:
  274.       spriteBox(48, left, top, right - 100, bottom - 120)
  275.     75, 77:
  276.       spriteBox(48, left, top, right - 120, bottom - 100)
  277.     78, 80, 98, 100:
  278.       spriteBox(48, left, top, right - 70, bottom - 30)
  279.     79, 81, 99, 101:
  280.       spriteBox(48, left, top, right - 30, bottom - 70)
  281.     82, 84, 122, 124:
  282.       spriteBox(48, left, top, right - 40, bottom - 50)
  283.     83, 85, 123, 125:
  284.       spriteBox(48, left, top, right - 50, bottom - 40)
  285.     86, 88:
  286.       spriteBox(48, left, top, right - 20, bottom - 30)
  287.     87, 89:
  288.       spriteBox(48, left, top, right - 30, bottom - 20)
  289.     90, 92:
  290.       spriteBox(48, left, top, right - 60, bottom - 30)
  291.     91, 93:
  292.       spriteBox(48, left, top, right - 30, bottom - 60)
  293.     94, 96:
  294.       spriteBox(48, left, top, right - 60, bottom - 100)
  295.     95, 97:
  296.       spriteBox(48, left, top, right - 100, bottom - 60)
  297.     102, 104:
  298.       spriteBox(48, left, top, right - 60, bottom - 200)
  299.     103, 105:
  300.       spriteBox(48, left, top, right - 200, bottom - 60)
  301.     106, 108:
  302.       spriteBox(48, left, top, right - 90, bottom - 100)
  303.     107, 109:
  304.       spriteBox(48, left, top, right - 100, bottom - 90)
  305.     110, 112:
  306.       spriteBox(48, left, top, right - 50, bottom - 110)
  307.     111, 113:
  308.       spriteBox(48, left, top, right - 110, bottom - 50)
  309.     114, 116:
  310.       spriteBox(48, left, top, right - 130, bottom - 120)
  311.     115, 117:
  312.       spriteBox(48, left, top, right - 120, bottom - 130)
  313.     118, 120:
  314.       spriteBox(48, left, top, right - 70, bottom - 100)
  315.     119, 121:
  316.       spriteBox(48, left, top, right - 100, bottom - 70)
  317.     130, 131, 132, 133:
  318.       spriteBox(48, left, top, right - 60, bottom - 60)
  319.   end case
  320.   puppetSound("appear")
  321.   updateStage()
  322.   set the locH of sprite 42 to 111 - (the width of member the memberNum of sprite 42 / 2)
  323.   set the locV of sprite 42 to 187 - (the height of member the memberNum of sprite 42 / 2)
  324.   set the visible of sprite 42 to 1
  325. end
  326.  
  327. on checkSpriteSize
  328.   set left to the left of sprite 43
  329.   if the frame = 2 then
  330.     set top to the top of sprite 43 - 100
  331.   else
  332.     set top to the top of sprite 43
  333.   end if
  334.   set right to the right of sprite 43
  335.   set bottom to the bottom of sprite 43
  336.   case the memberNum of sprite 42 of
  337.     2, 4:
  338.       spriteBox(48, left, top, right - 90, bottom - 140)
  339.     3, 5:
  340.       spriteBox(48, left, top, right - 140, bottom - 90)
  341.     6, 8:
  342.       spriteBox(48, left, top, right - 70, bottom - 50)
  343.     7, 9:
  344.       spriteBox(48, left, top, right - 50, bottom - 70)
  345.     10, 12:
  346.       spriteBox(48, left, top, right - 110, bottom - 90)
  347.     11, 13:
  348.       spriteBox(48, left, top, right - 90, bottom - 110)
  349.     14, 16:
  350.       spriteBox(48, left, top, right - 30, bottom - 40)
  351.     15, 17:
  352.       spriteBox(48, left, top, right - 40, bottom - 30)
  353.     18, 20:
  354.       spriteBox(48, left, top, right - 30, bottom - 10)
  355.     19, 21:
  356.       spriteBox(48, left, top, right - 10, bottom - 30)
  357.     22, 23, 24, 25, 70, 71, 72, 73, 126, 127, 128, 129:
  358.       spriteBox(48, left, top, right - 40, bottom - 40)
  359.     26, 28:
  360.       spriteBox(48, left, top, right - 90, bottom - 10)
  361.     27, 29:
  362.       spriteBox(48, left, top, right - 10, bottom - 90)
  363.     30, 31, 32, 33, 46, 47, 48, 49:
  364.       spriteBox(48, left, top, right - 80, bottom - 80)
  365.     34, 36:
  366.       spriteBox(48, left, top, right - 80, bottom - 120)
  367.     35, 37:
  368.       spriteBox(48, left, top, right - 120, bottom - 80)
  369.     38, 40:
  370.       spriteBox(48, left, top, right - 70, bottom - 90)
  371.     39, 41:
  372.       spriteBox(48, left, top, right - 90, bottom - 70)
  373.     42, 43, 44, 45:
  374.       spriteBox(48, left, top, right - 90, bottom - 90)
  375.     50, 52:
  376.       spriteBox(48, left, top, right - 90, bottom - 80)
  377.     51, 53:
  378.       spriteBox(48, left, top, right - 80, bottom - 90)
  379.     54, 56:
  380.       spriteBox(48, left, top, right - 70, bottom - 20)
  381.     55, 57:
  382.       spriteBox(48, left, top, right - 20, bottom - 70)
  383.     58, 60:
  384.       spriteBox(48, left, top, right - 20, bottom - 130)
  385.     59, 61:
  386.       spriteBox(48, left, top, right - 130, bottom - 20)
  387.     62, 64:
  388.       spriteBox(48, left, top, right - 60, bottom - 10)
  389.     63, 65:
  390.       spriteBox(48, left, top, right - 10, bottom - 60)
  391.     66, 68:
  392.       spriteBox(48, left, top, right - 30, bottom - 50)
  393.     67, 69:
  394.       spriteBox(48, left, top, right - 50, bottom - 30)
  395.     74, 76:
  396.       spriteBox(48, left, top, right - 100, bottom - 120)
  397.     75, 77:
  398.       spriteBox(48, left, top, right - 120, bottom - 100)
  399.     78, 80, 98, 100:
  400.       spriteBox(48, left, top, right - 70, bottom - 30)
  401.     79, 81, 99, 101:
  402.       spriteBox(48, left, top, right - 30, bottom - 70)
  403.     82, 84, 122, 124:
  404.       spriteBox(48, left, top, right - 40, bottom - 50)
  405.     83, 85, 123, 125:
  406.       spriteBox(48, left, top, right - 50, bottom - 40)
  407.     86, 88:
  408.       spriteBox(48, left, top, right - 20, bottom - 30)
  409.     87, 89:
  410.       spriteBox(48, left, top, right - 30, bottom - 20)
  411.     90, 92:
  412.       spriteBox(48, left, top, right - 60, bottom - 30)
  413.     91, 93:
  414.       spriteBox(48, left, top, right - 30, bottom - 60)
  415.     94, 96:
  416.       spriteBox(48, left, top, right - 60, bottom - 100)
  417.     95, 97:
  418.       spriteBox(48, left, top, right - 100, bottom - 60)
  419.     102, 104:
  420.       spriteBox(48, left, top, right - 60, bottom - 200)
  421.     103, 105:
  422.       spriteBox(48, left, top, right - 200, bottom - 60)
  423.     106, 108:
  424.       spriteBox(48, left, top, right - 90, bottom - 100)
  425.     107, 109:
  426.       spriteBox(48, left, top, right - 100, bottom - 90)
  427.     110, 112:
  428.       spriteBox(48, left, top, right - 50, bottom - 110)
  429.     111, 113:
  430.       spriteBox(48, left, top, right - 110, bottom - 50)
  431.     114, 116:
  432.       spriteBox(48, left, top, right - 130, bottom - 120)
  433.     115, 117:
  434.       spriteBox(48, left, top, right - 120, bottom - 130)
  435.     118, 120:
  436.       spriteBox(48, left, top, right - 70, bottom - 100)
  437.     119, 121:
  438.       spriteBox(48, left, top, right - 100, bottom - 70)
  439.     130, 131, 132, 133:
  440.       spriteBox(48, left, top, right - 60, bottom - 60)
  441.   end case
  442.   updateStage()
  443.   if the locV of sprite 42 > the bottom of sprite 48 then
  444.     set the locV of sprite 42 to the bottom of sprite 48
  445.     updateStage()
  446.   end if
  447.   if the locH of sprite 42 > the right of sprite 48 then
  448.     set the locH of sprite 42 to the right of sprite 48
  449.     updateStage()
  450.   end if
  451. end
  452.  
  453. on putBack
  454.   puppetSound("no_place")
  455.   spriteBox(48, the left of sprite 43 - 230, the top of sprite 48 - 100, the right of sprite 48, the bottom of sprite 48)
  456.   updateStage()
  457.   set the locH of sprite 42 to 111 - (the width of member the memberNum of sprite 42 / 2)
  458.   set the locV of sprite 42 to 187 - (the height of member the memberNum of sprite 42 / 2)
  459. end
  460.  
  461. on readOpponents
  462.   global gOppstillInBusiness, gFileList, gOppOffset, gOppShape, gSlumpList, gHost, gOppName
  463.   set msgID to EMPTY
  464.   set msgType to EMPTY
  465.   readFile()
  466.   if count(gFileList) = 0 then
  467.     return -1
  468.   else
  469.     set tabs to 0
  470.     set data to getAt(gFileList, 1)
  471.     deleteAt(gFileList, 1)
  472.     repeat with i = 1 to length(data)
  473.       if char i of data = TAB then
  474.         set tabs to tabs + 1
  475.       end if
  476.       if tabs = 4 then
  477.         put char i + 1 of data after msgID
  478.       end if
  479.       if tabs = 5 then
  480.         put char i + 1 of data after msgType
  481.       end if
  482.       if tabs = 7 then
  483.         exit repeat
  484.       end if
  485.     end repeat
  486.     set msgID to value(chars(msgID, 1, length(msgID) - 1))
  487.     set msgType to value(chars(msgType, 1, length(msgType) - 1))
  488.     if (msgType > 9) or (msgType < 0) then
  489.       return 0
  490.     end if
  491.     set data to chars(data, i + 1, length(data) - 1)
  492.     if msgID = 2 then
  493.       set data to value(data)
  494.       set gOppstillInBusiness to getAt(data, 3)
  495.       set gOppOffset to getAt(data, 1)
  496.       set gOppShape to getAt(data, 2) - 1
  497.       return 2
  498.     else
  499.       if msgID = 1 then
  500.         doChat(data)
  501.         return 1
  502.       else
  503.         if msgID = 3 then
  504.           if gHost = 0 then
  505.             set gSlumpList to value(data)
  506.           end if
  507.           return 3
  508.         else
  509.           if msgID = 6 then
  510.             set data to gOppName & " has quit the game!"
  511.             doChat(data)
  512.             go("hasQuit")
  513.             return 6
  514.           else
  515.             return -1
  516.           end if
  517.         end if
  518.       end if
  519.     end if
  520.   end if
  521. end
  522.  
  523. on showOpponents
  524.   global gOppShape, gOppOffset, gCastMemberCoords, stillInBusiness, gOppstillInBusiness, gGameResult
  525.   if (stillInBusiness = 1) and (gOppstillInBusiness = 0) then
  526.     set gGameResult to 1
  527.     return 1
  528.     exit
  529.   else
  530.     if (stillInBusiness = 0) and (gOppstillInBusiness = 1) then
  531.       set gGameResult to 2
  532.       return 2
  533.       exit
  534.     else
  535.       if (stillInBusiness = 0) and (gOppstillInBusiness = 0) then
  536.         set gGameResult to 3
  537.         return 3
  538.         exit
  539.       end if
  540.     end if
  541.   end if
  542.   set shapeList to getAt(gCastMemberCoords, gOppShape)
  543.   repeat with i = 1 to count(shapeList)
  544.     repeat with J = getAt(getAt(getAt(shapeList, i), 1), 1) to getAt(getAt(getAt(shapeList, i), 1), 2)
  545.       set V to 382 + (getAt(gOppOffset, 1) * 3) + (i * 3) - 10
  546.       set h to 417 + (getAt(gOppOffset, 2) * 3) + (J * 3) - 10
  547.       set the loc of sprite 45 to point(h, V)
  548.       updateStage()
  549.     end repeat
  550.     if count(getAt(shapeList, i)) > 1 then
  551.       repeat with J = getAt(getAt(getAt(shapeList, i), 2), 1) to getAt(getAt(getAt(shapeList, i), 2), 2)
  552.         set V to 382 + (getAt(gOppOffset, 1) * 3) + (i * 3) - 10
  553.         set h to 417 + (getAt(gOppOffset, 2) * 3) + (J * 3) - 10
  554.         set the loc of sprite 45 to point(h, V)
  555.         updateStage()
  556.       end repeat
  557.     end if
  558.   end repeat
  559.   puppetSprite(39, 0)
  560.   return 0
  561. end
  562.  
  563. on doChat data
  564.   global gChatTime
  565.   puppetSound("fone")
  566.   set the text of field "oppChat" to data
  567.   repeat with i = 1 to 3
  568.     set the visible of sprite 35 to 0
  569.     updateStage()
  570.     startTimer()
  571.     repeat while the timer < 7
  572.     end repeat
  573.     set the visible of sprite 35 to 1
  574.     updateStage()
  575.     startTimer()
  576.     repeat while the timer < 5
  577.     end repeat
  578.   end repeat
  579.   set gChatTime to the ticks + (8 * 60)
  580. end
  581.